package service;

import dao.BuildInfoMapper;

import java.sql.SQLException;

/**
 * @author 李夏
 * @version 1.0
 */
public class BuildInfoService {
    //管理员/宿管获取某楼栋的宿舍总数
    public static Integer getBuildOneBuild(Integer buildId) throws SQLException {
        return BuildInfoMapper.getBuildOneBuild(buildId);
    }

    public static Integer queryBuildAllCount() throws SQLException {
        return BuildInfoMapper.queryBuildAllCount();

    }


}
